package cn.bingo.yunsj.mapper;

import cn.bingo.yunsj.domain.RpUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RpUserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(RpUser record);

    RpUser selectByPrimaryKey(String userId);

    List<RpUser> selectAll();

    int updateByPrimaryKey(RpUser record);

    RpUser selectName(String name);

    int updateStandby(
            @Param("standby") String standby,
            @Param("userId") String userId);
}